DTS CSAM is a sample Catalog Service Access Module that "connects" a catalog to a personal catalog. It compiles and builds under both MPW and Think C.
The DTS Sample CSAM that is built from sources in this folder and its subfolders. It also summarizes the AOCE documentation from the point of view of a programmer implementing a DSAM and its associated directory template. One goal of this project is to provide a set of sources that can be compiled under either MPW or Think C 6.0.
••• Building the CSAM
The MPW Makefile builds the CSAM from its components. The procedure
first builds the template resource, then the driver, then uses Rez to
combine these with the various resources needed by the Catalog Manager.
Under Think C (6.0.1 or later), you must build the CSAM manually by
first compiling the template resource (DTSSampleTemplate.π project),
then compiing the driver (DTSSampleDriver.π). This latter step includes
the template resource and the other string (etc) resources.
The two CSAM's are (or at least should be) functionally identical. There
are one or two minor differences in the resources because of limitations
in the current version of Think Rez. You should not change the "Project
Type" parameters unless you are very certain of what you are doing.
••• Audit logging.
The CSAM was developed as a debugging/exploration tool, rather than
as a functional product. It uses an Audit logging subroutine library to
record its actions (and especially any errors that it detects). In order
to read and interpret the audit log, you will need the Display Audit
application and/or the Audit MacsBug dcmd. These are provided in a
separate package found in the "Unsupported Tools" folder.
The Audit package is a general-purpose event logger, suitable for
drivers, code resources, and similar asynchronous code modules.
It is not specific to AOCE or CSAM's.
Compilation Environment:
MPW 3.3
or THINK C V 6.0.1
Two Think C (6.0) projects are needed to build the code resources. See
the comments in !ReadMeForThink.c for details.
Author: Martin Minow-DTS, AppleLink: DEVSUPPORT
Questions/Comments: As with the other AOCE samples, technical questions should be addressed to DEVSUPPORT.
This tool is provided as part of the AOCE SDK. Use of this tool for any purpose other than the development of AOCE-based Macintosh® products is a violation of the license agreement covering this SDK.